<?php 
define('SMARTY_DIR', SITE_ROOT.DS.'smarty'.DS.'libs'.DS);
require_once(SMARTY_DIR . 'Smarty.class.php');

class lSmarty extends Smarty {

    function lSmarty() {
        $this->Smarty();
        $this->template_dir =  SITE_ROOT.DS.'templates/';
        $this->compile_dir =  SITE_ROOT.DS.'templates_c/';
        $this->config_dir =  SITE_ROOT.DS.'configs/';
        $this->cache_dir =  SITE_ROOT.DS.'cache/';
        $this->caching = false;        
    }

}